import getlink from "../../apis/getapi"
export let cebian={
    state:{
        text1:"",
        text2:"",
    },
    mutations:{
        cebianA(state,payload){
            state.text1=payload.data1;
            state.text2=payload.data2;
        },
    },
    actions:{
        cebianH(context,payload){
            getlink(payload.url).then((ok)=>{
                // console.log(ok.data.data2[0]);
                context.commit("cebianA",ok.data)
            })
        }
    },
    getters:{

    }
}